package com.example.demo.controller;

import com.example.demo.dao.GraduateUserMapper;
import com.example.demo.entity.GraduateUser;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;
import java.util.List;

@Controller
public class TestController {

    @Resource
    private GraduateUserMapper graduateUserMapper;

    @RequestMapping("/findUser")
    public List<GraduateUser> findUser(){
        return graduateUserMapper.findAll();
    }
}
